﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="CreateOrEdit.ascx.cs" Inherits="CMS.Controls.AdminUser.CreateOrEdit" %>

<asp:Literal ID="ltMessage" runat="server" />
<!-- / message -->

<fieldset>
    <div class="widget first">
        <div class="head"><h5 class="iList"><asp:Literal ID="ltTitle" runat="server"/></h5></div>        
        
        <div class="rowElem nobg">
            <label>Tên đăng nhập</label>
            <div class="formRight"><asp:TextBox ID="txtUserName" CssClass="validate[required]" runat="server" /></div>
            <div class="fix"></div>
        </div>
                
        <asp:Panel ID="panelPassword" runat="server">
        <div class="rowElem">
            <label>Mật khẩu</label>
            <div class="formRight"><asp:TextBox ID="txtPassword" TextMode="Password" CssClass="validate[required]" runat="server" /></div>
            <div class="fix"></div>    
        </div>

        <div class="rowElem">
            <label>Nhập lại mật khẩu</label>
            <div class="formRight"><asp:TextBox ID="txtRepassword" TextMode="Password" CssClass="validate[required]" runat="server" /></div>
            <div class="fix"></div>
        </div>              
        </asp:Panel>
        
        <div class="rowElem">
            <label>Hòm thư</label>
            <div class="formRight"><asp:TextBox ID="txtEmail" CssClass="validate[required,custom[email]]" runat="server" /></div>
            <div class="fix"></div>
        </div>            

        <div class="rowElem">
            <label>Họ và tên</label>
            <div class="formRight"><asp:TextBox ID="txtFullName" CssClass="validate[required]" runat="server" /></div>
            <div class="fix"></div>
        </div>      
                      
        <div class="rowElem">
            <label>Ngày sinh</label>
            <div class="formRight"><asp:TextBox ID="txtBirthday" CssClass="datepicker validate[required]" runat="server" /></div>            
            <div class="fix"></div>
        </div>      
              
        <div class="rowElem">
            <label>Giới tính</label>
            <div class="formRight"><asp:RadioButton ID="rbMale" Checked="true" GroupName="Quizz" Text="Nam" runat="server"/><asp:RadioButton ID="rbFemale" GroupName="Quizz" Text="Nữ" runat="server"/></div>
            <div class="fix"></div>
        </div>     
               
        <div class="rowElem">
            <label>Thông tin thêm</label>
            <div class="formRight"><asp:TextBox ID="txtInformation" TextMode="MultiLine" Height="50" runat="server" /></div>
            <div class="fix"></div>
        </div>       
            
        <div class="rowElem">
            <label>Trạng thái</label>
            <div class="formRight"><asp:CheckBox ID="cbStatus" Checked="true" Text="Hoạt động" runat="server" /></div>
            <div class="fix"></div>
        </div>            

        <div class="body">
            <asp:Button ID="btnSave" Text="Lưu lại" CssClass="seaBtn floatright mb22" CausesValidation="true" runat="server" onclick="BtnSave" />                                
        </div>        
        <div class="fix"></div>
    </div>
</fieldset>
<!-- / create or edit admin user -->
